package com.hsmpay.mobile.service.user;

import com.hsmpay.common.pojo.user.Loan;
import com.hsmpay.common.service.MemcachedService;

import java.io.Serializable;

/**
 * 贷款业务接口 loanService
 * 对应数据层 loanDao
 * Created by tenghui on 16/10/25.
 */
public interface LoanService <Entity extends Serializable, Query extends Object> extends MemcachedService<Entity, Query> {
    /**
     * 提交贷款申请
     * @param loan
     * @return
     * @throws Exception
     */
    public Long insert(Loan loan) throws Exception;
}
